package org.jeecg.modules.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.biz.entity.BurnAmount;
import org.jeecg.modules.biz.mapper.BurnAmountMapper;
import org.jeecg.modules.biz.service.BurnAmountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class BurnAmountServiceImpl extends ServiceImpl<BurnAmountMapper, BurnAmount> implements BurnAmountService {
    @Autowired
    private BurnAmountMapper amountMapper;

    @Override
    public Long getTotalBurnAmount() {
        return amountMapper.getTotalBurnAmount();
    }
}
